package com.doupi.partner.dal;

import com.doupi.partner.dal.model.Administrator;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface AdministratorMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Administrator record);

    Administrator selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Administrator record);

    int countAdministrator(Administrator administrator);

    List<Administrator> queryAdministrators(Administrator administrator, RowBounds rowBounds);

    List<Administrator> selectAdministratorForUpdate(Administrator administrator);

    Administrator selectAdministratorForUpdateByPrimaryKey(Long id);
}